<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
		<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
		<title>找回密码第二步-<?php echo $cfg_webname;?></title>
		<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/font/css/font-awesome.min.css">
		<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/bootstrap.min.css">
		<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/style.css">
		<script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script>
	</head>
	<body class="body-bg">
		<?php obtaintheme('top.htm');?>
		<main class="container py-3">
			<div class="row">
				<div class="col-md-12">
					<h2>找回密码第二步</h2>
					<p><a href="index_do.php?fmdo=user&dopost=regnew">还没注册？</a></p>
					<form name="form1" method="POST" action="<?php echo $cfg_memberurl;?>/resetpassword.php">
						<input type="hidden" name="dopost" value="getpasswd">
						<input type="hidden" name="setp" value="2">
						<input type="hidden" name="id" value="<?php echo $id;?>">
						<div class="form-group">
							<label>账号</label>
							<input type="text" name="userid" readonly="readonly" id="iptUserid" class="form-control" value="<?php echo $row['membername']?>">
						</div>
						<?php if (empty($key)) {?>
						<div class="form-group">
							<label>会员临时密码</label>
							<input type="password" name="pwdtmp" id="iptPwdtmp" class="form-control" placeholder="请输会员临时密码">
						</div>
						<?php } else {?>
						<div class="form-group">
							<input name="key" type="hidden" value="<?php echo $key;?>" placeholder="请输入验证码">
						</div>
						<?php }?>
						<div class="form-group">
							<label>会员新密码</label>
							<input type="password" name="pwd" id="iptPwd" class="form-control" placeholder="请输入会员新密码">
						</div>
						<div class="form-group">
							<label>会员确认密码</label>
							<input type="password" name="pwdok" id="iptPwdok" class="form-control" placeholder="请输入会员确认密码">
						</div>
						<div><button type="submit" class="btn btn-success btn-md btn-block">下一步</button></div>
					</form>
				</div>
			</div>
		</main>
		<?php obtaintheme('foot.htm');?>
	</body>
</html>